package com.ylxn.chapter01;

import org.junit.Test;

public class demo01 {
    @Test
    public void test1(){
        Thread thread = new Thread(){
            @Override
            public void run() {
                System.out.println("runing ...");
            }
        };
        thread.setName("Thread_01");
    }
}
